package com.zatech.cgnci.project.service;

import com.zatech.cgnci.project.entity.CgnciUnderwritingPolicyDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zatech.cgnci.project.vo.CgnciUnderwritingPolicyVO;

import java.util.List;

/**
 * <p>
 * 承保政策表 服务类
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */
public interface CgnciUnderwritingPolicyService extends IService<CgnciUnderwritingPolicyDO> {

    void deleteUnderwritingPolicy(Long policyId, String reinsuranceArrangement);

    void deletePolicy(Long id);

    List<CgnciUnderwritingPolicyVO> listUnderwritingPolicyByBusinessId(Long businessId);

    void deleteUnderwritingPolicyRisk(Long businessId, String riskSubTypeCode);
}
